const Mongoose = require("./db");
const nextSequenceValueHelper = require("../utils/nextSequenceValueHelper.js");

const countSchema = new Mongoose.Schema({
	_id: {type: String},
	sequence_value: { type: Number, default: 1 },
})

nextSequenceValueHelper.preSchemaName(countSchema)


const countModel = Mongoose.model("counts", countSchema);

module.exports = countModel;